package com.chinasoft.class5.group1;

import com.chinasoft.main.TrueWord;

import java.util.ArrayList;
import java.util.List;
import java.util.Random;

public class CaiJiasheng implements TrueWord {
    List<String> wordList = new ArrayList<>();

    Random random = new Random();

    public CaiJiasheng() {
        wordList.add("想吃五花肉");
        wordList.add("想吃汉堡包");
        wordList.add("余生哥快来报销");
    }
    @Override
    public String getWord() {
        int index = random.nextInt(wordList.size());
        return wordList.get(index);
    }

    @Override
    public String getName() {
        return "蔡佳生";
    }
}
